#ifndef __TYPES_H__
#define __TYPES_H__

typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int  uint32_t;
typedef unsigned long uint64_t;
typedef signed char int8_t;
typedef signed short int16_t;
typedef signed int  int32_t;
typedef signed long int64_t;

typedef uint64_t ptr_t;


#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))

#endif /* __TYPES_H__ */
